package com.ruoyi.domain;

// 自定义数据传输对象
public class ProcessInstanceInfo {
    private String id;
    private String processDefinitionId;
    private String businessKey;
    private boolean isEnded;
    private boolean isSuspended;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getProcessDefinitionId() {
        return processDefinitionId;
    }

    public void setProcessDefinitionId(String processDefinitionId) {
        this.processDefinitionId = processDefinitionId;
    }

    public String getBusinessKey() {
        return businessKey;
    }

    public void setBusinessKey(String businessKey) {
        this.businessKey = businessKey;
    }

    public boolean isEnded() {
        return isEnded;
    }

    public void setEnded(boolean ended) {
        isEnded = ended;
    }

    public boolean isSuspended() {
        return isSuspended;
    }

    public void setSuspended(boolean suspended) {
        isSuspended = suspended;
    }

    // 构造函数、Getter 和 Setter
    public ProcessInstanceInfo(String id, String processDefinitionId, String businessKey, boolean isEnded, boolean isSuspended) {
        this.id = id;
        this.processDefinitionId = processDefinitionId;
        this.businessKey = businessKey;
        this.isEnded = isEnded;
        this.isSuspended = isSuspended;
    }
    
    // Getter 和 Setter 方法
    // ...
}